import QtQuick 2.4
import QtMultimedia 5.15

Item {
    width: 400
    height: 400

    property alias camera: camera
    property alias imagecapture: imagecapture
    Camera {
        id: camera
        captureMode: camera.CaptureStillImage
        imageCapture {
            id: imagecapture
        }
    }
    VideoOutput {
        source: camera
        anchors.fill: parent
        focus: visible
    }
    //    Image {
    //        id: image_videooutput
    //        cache: false
    //        source: "file"
    //    }
}
